package com.ms.order.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("mall-order-boot")
public interface OrderService {

    @GetMapping("/order/getOrderByUserId/{userId}")
    public String getOrderByUserId(@PathVariable("userId") Long userId);
}
